package com.itheima.clients;

import com.itheima.pojo.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
@FeignClient("userservice")
public interface UserClisents {
    @GetMapping("/user/{id}")
    public User selectUserById(@PathVariable("id") Long id);
}
